import request from '@/utils/request'
export const cityGetService = (params) =>
  request.get('/api/element/search/list', { params })

export const cityDelService = (ids) =>
  request.post('/api/element/delete', { ids })
export const cityUpdateService = (data) =>
  request.post('/api/element/update', data, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
export const cityAddService = (data) =>
  request.post('/api/element/add', data, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
